package cn.simon.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/admin")
public class AdminController {

    @GetMapping("/index")
    public String index(){
        return "admin/backstage";
    }

    @GetMapping("/order")
    public String order(){
        return "admin/backstage_order1";
    }

    @GetMapping("/index1")
    public String index1(){
        return "admin/backstage_welcome";
    }
}
